/*
 *  Copyright 2025 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import (reference) '../../../styles/variables.less';

.owner-label-section {
  color: #21263c !important;
}
.loading-text {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}
.edit-icon {
  cursor: pointer;
  height: 20px;
}
.selected-owners-list {
  display: none;

  .selected-owner-chip {
    background-color: #f9fafc;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 6px;

    .owner-name {
      font-weight: 500;
      font-size: 12px;
      color: #21263c;
    }
  }
}
.owners-section {
  border-bottom: 0.6px solid @grey-15;
  padding-bottom: 16px;
  .owners-header {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    padding-left: 14px;
    padding-right: 14px;
    .owners-title {
      font-weight: 600;
      font-size: 13px;
      color: @grey-900;
    }

    .edit-button {
      color: #1890ff;
      font-size: 12px;
      padding: 0;
      height: auto;
      border: none;
      background: none;

      &:hover {
        color: #40a9ff;
        background: none;
      }
    }
  }

  .owners-content {
    padding-left: 14px;
    padding-right: 14px;
    .inline-edit-container {
      .owner-selector-display {
        min-height: 40px;
        border: 1px solid @grey-300;
        border-radius: 6px;
        background-color: #fff;
        padding: 8px 12px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
      }

      .owner-placeholder {
        color: #8c8c8c;
        font-size: 14px;
        font-style: italic;
      }
    }
  }

  .no-data-placeholder {
    color: @grey-500;
    font-size: 12px;
  }
}
